<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\controller;



/**
 * 游戏控制器
 */
class Game extends ApiBase
{



    /**
     * 玩法接口
     */
    public function play_list(){
        return $this->apiReturn($this->logicGame->play_list($this->param));
    }

    /**
     * 彩种列表
     */
    public function  lottery_list(){
        return $this->apiReturn($this->logicGame->lottery_list($this->param));
    }

    /**
     * 彩种分类列表
     */
    public function  lottery_cate(){
        return $this->apiReturn($this->logicGame->lottery_cate($this->param));
    }

    /**
     * 开奖结果
     */
    public function  lottery_result(){
        return $this->apiReturn($this->logicGame->lottery_result($this->param));
    }
    /**
     * 走势
     */
    public function  bet_trend(){
        return $this->apiReturn($this->logicGame->bet_trend($this->param));
    }

    /**
     * 当前开奖期数
     */
    public function  lottery_info(){
        return $this->apiReturn($this->logicGame->lottery_info($this->param));
    }


    /**
     * 彩种下注
     */
    public function  lottery_bet(){
        return $this->apiReturn($this->logicGame->lottery_bet($this->param));
    }

    /**
     * 一键彩种下注
     */
    public function  one_key_lottery_bet(){
        return $this->apiReturn($this->logicGame->one_key_lottery_bet($this->param));
    }

    /**
     * 彩种下注
     */
    public function  new_lottery_bet(){
        return $this->apiReturn($this->logicGame->new_lottery_bet($this->param));
    }
    /**
     * 彩种预约下注
     */
    public function  subscribe_add_lottery(){
        return $this->apiReturn($this->logicGame->subscribe_add_lottery($this->param));
    }

    /**
     * 彩种预约下注
     */
    public function  subscribe_lottery_round(){
        return $this->apiReturn($this->logicGame->subscribe_lottery_round($this->param));
    }

    /**
     * 计算奖金和返点
     */
    public function  compute_lottery(){
        return $this->apiReturn($this->logicGame->compute_lottery($this->param));
    }

    /**
     * 游戏收益计算
     */
    public function  bet_statistics(){
        return $this->apiReturn($this->logicGame->bet_statistics($this->param));
    }

    /**
     * 投注日志
     */
    public function  bet_log(){
        return $this->apiReturn($this->logicGame->bet_log($this->param));
    }
    /**
     * 游戏日志
     */
    public function  game_log(){
        return $this->apiReturn($this->logicGame->game_log($this->param));
    }

    /**
     * 日志详情
     */
    public function  game_info(){
        return $this->apiReturn($this->logicGame->game_info($this->param));
    }

    /**
     * 下注撤单
     */
    public function  cancel_order(){
        return $this->apiReturn($this->logicGame->cancel_order($this->param));
    }

    /**
     * 我的理財
     */
    public function  my_investment_statistics(){
        return $this->apiReturn($this->logicGame->my_investment_statistics($this->param));
    }
    /**
     * 再次购买
     */
    public function  bet_again(){
        return $this->apiReturn($this->logicGame->bet_again($this->param));
    }

    /**
     * 全部开奖结果
     */
    public function  lottery_result_log(){
        return $this->apiReturn($this->logicGame->lottery_result_log($this->param));
    }
    /**
     * 更多全部开奖结果
     */
    public function  more_lottery_result_log(){
        return $this->apiReturn($this->logicGame->more_lottery_result_log($this->param));
    }
    /**
     *云预测库列表
     */
    public function  third_plan_list(){
        return $this->apiReturn($this->logicGame->third_plan_list($this->param));
    }

    /**
     * 云计划详情
     */
    public function plan_detail(){
        return $this->apiReturn($this->logicGame->plan_detail($this->param));
    }

    /**
     * 云计划列表
     */
    public function plan_number(){
        return $this->apiReturn($this->logicGame->plan_number($this->param));
    }
    /**
     * 对冲保险模式
     */
    public function dedge_insurance_model(){
        return $this->apiReturn($this->logicGame->dedge_insurance_model($this->param));
    }
    /**
     * 对冲保险计划
     */
    public function investment_plan(){
        return $this->apiReturn($this->logicGame->investment_plan($this->param));
    }

    /**
     * 对冲计划游戏日志
     */
    public function investment_plan_game_log(){
        return $this->apiReturn($this->logicGame->investment_plan_game_log($this->param));
    }
    /**
     * 开启停止对冲计划
     */
    public function edit_investment_plan(){
        return $this->apiReturn($this->logicGame->edit_investment_plan($this->param));
    }

    /**
     * 更改模式
     */
    public function edit_investment_pattern(){
        return $this->apiReturn($this->logicGame->edit_investment_pattern($this->param));
    }

    /**
     * 关闭对冲挂机
     */
    public function close_investment_plan(){
        return $this->apiReturn($this->logicGame->close_investment_plan($this->param));
    }

}
